home *** CD-ROM | disk | FTP | other *** search
/ Strategy Challenges Collection / Strategy Challenges Collection.iso / pc / demo / demodata / menu.dxr / 00194.ls < prev    next >
Encoding:
Text File  |  1996-10-02  |  461 b   |  20 lines

  1. on mouseDown
  2.   buttonHilite()
  3. end
  4.  
  5. on mouseUp
  6.   global gAbort, gTheclickOn
  7.   if gAbort = 0 then
  8.     set tempJump to the name of cast the castNum of sprite gTheclickOn
  9.     set gTheclickOn to EMPTY
  10.     set jumpName to chars(tempJump, 1, length(tempJump) - 5)
  11.     if (the number of chars in jumpName < 4) and (jumpName <> "IE") then
  12.       exit
  13.     end if
  14.     clearPuppets(2, 12)
  15.     go(the frame + 4)
  16.     puppetSound(0)
  17.     PlayDemoFrame(1, jumpName)
  18.   end if
  19. end
  20.